function submitform(){
	var name = document.getElementById("name").value; 
	if(name==""){
		alert("带*字段不能为空");
		return false;
	}
	
	document.getElementById("form1").submit();
	top.Dialog.close();	
}


function submitform2(){
	document.getElementById("form2").submit();
	top.Dialog.close();	
}